<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShopSalesmanLog extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_salesman_log', function (Blueprint $table) {
            $table->increments('id');
            $table->string('shopid')->comment('商家id');
            $table->string('type')->comment('类型:新增/修改/升级/禁止/结款等');
            $table->dateTime('updatecontent')->comment('更新内容');
            $table->integer('adminid')->comment('操作人');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
